<div class="paginate"><a href="#" onClick="history.go(-1);"> &laquo; BACK</a></div>		 
<div class="loading">&nbsp;</div>
<div class="clearfix">		

	<div id="grid">
		<div id="sort">
			<!-- BEGINOF information -->
			<div class="box<?php echo ($data['Album']['is_featured'])?' featbox':'';?>">
			<h2><?php echo $data['Album']['title']; ?></h2>

					<div class="fb_like_index2" style="display:block;height: 20px;">
					<?php $url_path = HOSTNAME.'/albums/category/'.$data['Album']['id']; ?>
					<fb:like href="<?php echo $url_path;?>"
									   layout="button_count"
									   show_faces="false"
									   action="like"
									   colorscheme="light"></fb:like>
					</div>

			<p><?php echo $data['Album']['description']; ?></p>
			
			<hr/>
			<h3>Good for</h3>
			<span><a href="#">Lunch</a></span>
			<span><a href="#">Dinner</a></span>

			<hr/>
			<h3>Cuisine</h3>
			<span><a href="<?php echo HOSTNAME.'/albums/cuisines/'.$data['Cuisine']['id'];?>"><?php echo $data['Cuisine']['title'];?></a></span>

			<?php echo $this->element('youtube'); ?>
			</div>
			<!-- ENDOF information -->
			
			<?php
			foreach($data['Image'] as $album) {
				$url_path = HOSTNAME.'/img/albums/'.$album['path'];
			?>
			<div class="box">											
				<a href="<?php echo $url_path?>" class="fancybox" rel="gallery">
				<img width="320" title="<?php echo $data['Album']['title'];?>" alt="<?php echo $data['Album']['title'];?>" class="thumbnail wp-post-image" src="<?php echo HOSTNAME.'/thumbs/?src=/app/webroot/img/albums/'.$album['path'].'&w=300&zc=1&q=100';?>" style="opacity: 1;"></a>
			</div>				
			<?php } ?>			
		</div>
	</div>
		
	<!-- MINIMUM AT FIRST LOAD 16 PHOTOS -->
</div>
<?php echo $this->element('facebook_api');?>
